package com.kylin.gateway.service;

import com.kylin.common.core.beans.ResultBean;

import java.io.IOException;

/**
 * 验证码处理
 * 
 * @author wuhao
 */
public interface ValidateCodeService
{
    /**
     * 生成验证码
     */
    public ResultBean<Object> createCaptcha() throws IOException;

    /**
     * 校验验证码
     */
    public void checkCaptcha(String key, String value);
}
